

#ifndef  __LIB_FFMPEG_H__
#define  __LIB_FFMPEG_H__



#include "../main.h"
#include "../debug.h"
#include "../include_other.h"





typedef enum
{
    FFMPEG_RUN_INIT = 0,
		
    FFMPEG_RUN_READ_PACKET,
    
    FFMPEG_RUN_PAUSE,

    FFMPEG_RUN_STOP,
    
	FFMPEG_RUN_FIND_FILE,

	FFMPEG_RUN_IDLE,

} ffmpeg_run_state_e;


#define  MAX_AUDIO_FRAME_SIZE        192000 // 1 second of 48khz 32bit audio

//Invalid source: 1280x2768. max input: 4096x2304

#define  MAX_VIDEO_W       (4096)
#define  MAX_VIDEO_H       (2304)


#endif




